package com.jzo2o.health.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jzo2o.health.model.domain.ReservationSetting;
import com.jzo2o.health.model.dto.request.ReservationSettingUpsertReqDTO;
import com.jzo2o.health.model.dto.response.ReservationDateResDTO;
import com.jzo2o.health.model.dto.response.ReservationSettingResDTO;
import org.springframework.web.multipart.MultipartFile;
import org.springframework.stereotype.Service;

import java.io.IOException;
import java.util.List;

/**
 * <p>
 * 预约设置 服务类
 * </p>
 *
 * @author author
 * @since 2024-12-13
 */
public interface IReservationSettingService extends IService<ReservationSetting> {
    void insertAll(MultipartFile file) throws IOException;


    //根据给定的月份日期 获取该月份的所有预约设置信息
    List<ReservationSettingResDTO> getReservationSettingByMonth(String date);

    //根据提供的请求数据，编辑或更新某个日期的预约设置信息
    void editNumberByDate(ReservationSettingUpsertReqDTO reservationSettingUpsertReqDTO);


    //根据给定的月份，获取该月份的所有预约日期信息
    ReservationDateResDTO getReservationDateByMonth(String month);

    // void upload(MultipartFile file);
}